﻿#include "BrightnessExposureContrastSaturationShaderDialog.h"

BrightnessExposureContrastSaturationShaderDialog::BrightnessExposureContrastSaturationShaderDialog(QWidget* parent)
	: QDialog(parent)
{
	ui.setupUi(this);
}
//亮度
void BrightnessExposureContrastSaturationShaderDialog::OnBrightnessValueChagned(double value)
{
	this->brightness = value;
}
//曝光
void BrightnessExposureContrastSaturationShaderDialog::OnExposureValueChagned(double value)
{
	this->exposure = value;
}
//对比度
void BrightnessExposureContrastSaturationShaderDialog::OnContrastValueChagned(double value)
{
	this->contrast = value;
}
//饱和度
void BrightnessExposureContrastSaturationShaderDialog::OnSaturationValueChagned(double value)
{
	this->saturation = value;
}
//发送信号
void BrightnessExposureContrastSaturationShaderDialog::OnStart()
{
	emit sendBrightnessExposureContrastSaturation(brightness, exposure, contrast, saturation);
}


BrightnessExposureContrastSaturationShaderDialog::~BrightnessExposureContrastSaturationShaderDialog()
{
}
